package com.fay.designPattern.pattern.behavior.template;

/**
 * @Title:
 * @Description:
 * @Author Fay Wang
 * @Date 2022/4/21 15:06
 * @Version 1.0
 */
public class AClass {
    public static void main(String[] args) {
        BClass b = new BClass();
        b.process(new ICallback() {
            @Override
            public void methodToCallback() {
                System.out.println("Call back me.");
            }
        });
    }
}
